//
//  PPAbstractViewController.m
//  pickpic
//
//  Created by Jinxiao on 8/21/16.
//  Copyright © 2016 MicroDream. All rights reserved.
//

#import "PPAbstractViewController.h"
@interface PPAbstractViewController ()

@end

@implementation PPAbstractViewController


//- (void)popViewPreviousController{
//
//    [self.navigationController popViewControllerAnimated:YES];
//}
- (void)viewDidLoad {
    [super viewDidLoad];

//    self.automaticallyAdjustsScrollViewInsets = YES;
//    self.edgesForExtendedLayout = UIRectEdgeTop;
//
//    self.view.backgroundColor = [UIColor colorWithRGBHex:0xf2f2f2];
}

//- (UIStatusBarStyle)preferredStatusBarStyle {
//    return UIStatusBarStyleLightContent;
//    
////    return UIStatusBarStyleDefault;
//}

//- (void)setupBackItem{
//    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"nav_back"] style:UIBarButtonItemStylePlain target:self action:@selector(popViewPreviousController)];
//    self.navigationItem.leftBarButtonItem.tintColor = BLACK;
//
//}


//- (void)setupStatuBarWhite{
//    self.edgesForExtendedLayout = UIRectEdgeNone;;
//    UIView *statusBarView = [[UIView alloc]   initWithFrame:CGRectMake(0, -20,    self.view.bounds.size.width, 64)];
//    statusBarView.backgroundColor = [UIColor whiteColor];
//    [self.navigationController.navigationBar addSubview:statusBarView];
//}
@end
